package com.cafuc.discipline.dao;

import com.cafuc.discipline.entity.Affair;
import org.apache.ibatis.annotations.Mapper;

import java.util.HashMap;
import java.util.List;

@Mapper
public interface AffairDao {
    /*查询举报记录*/
    public List<Affair> selectReportAll(HashMap<String, Object> params);
    public HashMap<String,Object> selectReportCount(HashMap<String, Object> params);
    public List<Affair> selectReportByStatus(HashMap<String, Object> params);
    /*查询举报类型列表*/
    public  List<HashMap<String,Object>> selectReportType(int parent_id);
    /*新增检举*/
    public boolean insertNewAffair(HashMap<String,Object> params);


}
